<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Homework</title>
</head>
<body>
    <h1>欢迎注册</h1>
<table border="1">
    <form action="#">
    <tr>
        <td>用户名</td>
        <td><input type="text" id="username"></td>
    </tr>
    <tr>
        <td>密码</td>
        <td><input type="password" id="password"></td>
    </tr>
    <tr>
        <td>性别</td>
        <td><input type="radio" name="sex" value="男">男
            <input type="radio" name="sex" value="女">女
        </td>
    </tr>
    <tr>
        <td>爱好</td>
        <td>
            <input type="checkbox" name="hobby" value="抽烟">抽烟
            <input type="checkbox" name="hobby" value="喝酒">喝酒
            <input type="checkbox" name="hobby" value="烫头">烫头
        </td>
    </tr>
    <tr>
        <td>地址</td>
        <td><input type="text" id="address"></td>
    </tr>
    <tr>
        <td>生日</td>
        <td><input type="date" id="birthday"></td>
    </tr>
    <tr>
        <td>靓照</td>
        <td><input type="file" id="file"></td>
    </tr>
    <tr>
        <td>所在地</td>
        <td>
            <select name="city" id="city">
                <option value="北京">北京</option>
                <option value="上海">上海</option>
                <option value="广州">广州</option>
            </select>
        </td>
    </tr>
    <tr>
        <td colspan="2" align="center">
        <input type="checkbox" name="" id="ok">
        <label for="ok">我已阅读并同意</label><br></td>
    </tr>
    <tr>
        <td colspan="2" align="center">
        <input type="submit" value="注册" ></td>
    </tr>
    </form>
</table>
</body>
</html>